package com.qf.ssm.mapper;
/**
   @author 86155
   @ClassName: com.qf.ssm.mapper.StoreMapper
   @Description: 该类的功能描述
   @date: 2021/10/11 19:57 
*/

import com.qf.ssm.entity.Evaluate;
import com.qf.ssm.entity.Product;
import com.qf.ssm.entity.Store;
import com.qf.ssm.entity.Type;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StoreAppMapper {
    List<Type> selectAllType();


    List<Store> selectStoreByTid(@Param("tid") Long tid);

    Store selectStoreBySid(@Param("sid") Long sid);

    List<Store> searchStoreByName(@Param("searchName") String searchName);

    List<Product> searchProductByName(@Param("searchName") String searchName);

    List<Evaluate> selectEvaluate(@Param("storeId") Long storeId);
}
